package com.qingmu.club.minaapi.custom.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qingmu.club.minaapi.custom.mapper.CustomClubStaffScoreMapper;
import com.qingmu.club.minaapi.custom.service.CustomClubStaffScoreService;
import com.qingmu.club.minaapi.plus.entity.ClubStaffScore;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class CustomClubStaffScoreServiceImpl extends ServiceImpl<CustomClubStaffScoreMapper, ClubStaffScore> implements CustomClubStaffScoreService {
    @Override
    public Map<String, Object> staffScoreSum(Map<String, Object> params) {
        return this.baseMapper.staffScoreSum(params);
    }

    @Override
    public Map<String, Object> staffScoreRanking(Map<String, Object> params) {
        return this.baseMapper.staffScoreRank(params);
    }

    //学习成绩排行
    public List<Map<String, Object>> sumHoursRankingList(Map<String, Object> param) {
        return this.baseMapper.sumHoursRankingList(param);
    }

    public List<Map<String, Object>> yearHoursRankingList(Map<String, Object> param) {
        return this.baseMapper.yearHoursRankingList(param);
    }

    public List<Map<String, Object>> quarterHoursRankingList(Map<String, Object> param) {
        return this.baseMapper.quarterHoursRankingList(param);
    }

    public List<Map<String, Object>> monthHoursRankingList(Map<String, Object> param) {
        return this.baseMapper.monthHoursRankingList(param);
    }

    public List<Map<String, Object>> weekHoursRankingList(Map<String, Object> param) {
        return this.baseMapper.weekHoursRankingList(param);
    }


    //学习工时排行
    public List<Map<String, Object>> sumScoreRankingList(Map<String, Object> param) {
        return this.baseMapper.sumScoreRankingList(param);
    }

    public List<Map<String, Object>> yearScoreRankingList(Map<String, Object> param) {
        return this.baseMapper.yearScoreRankingList(param);
    }

    public List<Map<String, Object>> quarterScoreRankingList(Map<String, Object> param) {
        return this.baseMapper.quarterScoreRankingList(param);
    }

    public List<Map<String, Object>> monthScoreRankingList(Map<String, Object> param) {
        return this.baseMapper.monthScoreRankingList(param);
    }

    public List<Map<String, Object>> weekScoreRankingList(Map<String, Object> param) {
        return this.baseMapper.weekScoreRankingList(param);
    }



}